import Layout from '@/layout'

export default {
  path: '/',
  component: Layout,
  meta: { title: '权限管理', icon: 'tree' },
  children: [
    {
      path: '/roles',
      component: () => import('@/views/authorityManagement/RoleList/index'),
      name: 'RoleList',
      meta: { title: '角色列表', icon: 'el-icon-user-solid' }
    },
    {
      path: '/rights',
      component: () => import('@/views/authorityManagement/AuthorityList/index'),
      name: 'AuthorityList',
      meta: { title: '权限列表', icon: 'el-icon-user-solid' }
    }
  ]
}
